#ifndef _CLIENTSOCKET_H
#define _CLIENTSOCKET_H

#include <fstream>
#include <sstream>
#include <iostream>
#include "basesocket.h"

class ClientSocket : public BaseSocket
{
public:
    ClientSocket ( std::string host, int port );
    virtual ~ClientSocket(){};

    bool sendFile(const std::string& path) const;
    int recvFile(const std::string& path);

    const ClientSocket& operator<<(const std::string&) const;
    const ClientSocket& operator>>(std::string&) const;
};

#endif
